<?php if (!defined('THINK_PATH')) exit();?><!doctype html>
<html class="no-js">
<head>
	  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="description" content="">
  <meta name="keywords" content="">
  <meta name="viewport"
        content="width=device-width, initial-scale=1">
<title><?php echo C('WEB_SITE_TITLE');?></title>
<meta name="keywords" content="<?php echo C('WEB_SITE_KEYWORD');?>">
<meta name="description" content="<?php echo C('WEB_SITE_DESCRIPTION');?>">
  <meta name="renderer" content="webkit">
  <meta http-equiv="Cache-Control" content="no-siteapp"/>

  <link rel="icon" type="image/png" href="/Public/Home/images/home/favicon.ico">

  <link rel="stylesheet" href="/Public/Home/css/amazeui.min.css">
  <link rel="stylesheet" type="text/css" href="/Public/Home/css/base.css?data=20180709">




</head>
<body>
	<header class="header">
    <div class="container text-center">
        <div class="am-g">
           	<div class="am-u-lg-12">
				<div class="header-logo am-text-center">
					<a href="index.html" title="凤村在线"><img src="/Public/Home/images/home/logo.png?data=20180709" alt="凤村在线" style="margin-left:4px;" /></a>
				</div>
				<div class="header-subtitle">
					<hr>
					<div class="header-subtitle-text"> FengCun Online </div>
				</div>
			</div>
        </div>
        <div class="am-g">
            <div class="am-u-lg-12 am-text-center">
                <div class="header-nav">
                    <ul class="nav">
<!--<?php echo (mb_substr($nav["url"],0,-6)); ?>-->
                        <?php $__NAV__ = M('Channel')->field(true)->where("pid=0 AND status=1")->order("sort")->select(); if(is_array($__NAV__)): $i = 0; $__LIST__ = $__NAV__;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$nav): $mod = ($i % 2 );++$i; $a=substr($nav['url'],0,strlen($nav['url'])-6);?>
							<?php $b=$Think.CONTROLLER_NAME;?>
                            <li>
                                <a class="<?php if($b == $a): ?>this<?php endif; ?>" href="<?php echo (get_nav_url($nav["url"])); ?>"><?php echo ($nav["title"]); ?><small><?php echo ($nav["en_title"]); ?></small></a>
                            </li><?php endforeach; endif; else: echo "" ;endif; ?>
                    </ul>
                </div>
            </div>
        </div>
    </div>
</header>



	
	<section class="container banner">
		<div class="am-g banner-index">
			<div class="am-u-lg-12">
				<div class="tempWrap">
					<ul class="banner-main">
						<?php if(is_array($carousel)): $i = 0; $__LIST__ = $carousel;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><li class="clone"><a href="#"><img src="<?php echo get_cover($vo['cover_id'],$field = path);?>" class="img-responsive"></a></li><?php endforeach; endif; else: echo "" ;endif; ?>
						</article:list>
							
					</ul>
				</div>
				<ul class="text-center banner-nav am-text-center">
					<li></li>
				</ul>
			</div>
		</div>
	</section>




	<div class="container index-main" style="padding-bottom:45px;">
		<div class="am-g am-text-center">
			<div class="am-u-lg-12 am-text-center">
				<h3 class="index-main-title-3">青年红色筑梦之旅<small>A journey of dream building</small></h3>
			</div>
		</div>
		<div class="am-g index-main-3-bottom" style="padding:0 1.5rem;">
			<div class="am-u-lg-8" style="padding:0;">
				<iframe width="100%" height="350" frameborder="0" src="https://tv.sohu.com/upload/static/share/share_play.html#107216847_336052693_0_9001_0" allowFullScreen="true"></iframe>
			</div>
			<div class="am-u-lg-4 index-dream-right">
				<?php echo ($introduce_article[0]['content']); ?>
				
			</div>
			
		</div>
	</div>
	
	<div class="container index-main" style="padding-bottom:45px;">
		<div class="am-g am-text-center">
			<div class="am-u-lg-12 am-text-center">
				<h3 class="index-main-title-3">新闻中心<small>News</small></h3>
			</div>
		</div>
		<div class="am-g index-main-3-bottom" style="padding:0 1.5rem">
			<div class="am-u-lg-8" style="padding:0;">
				<div class="am-g">
					<div class="am-u-lg-5">
						<section class="banner">
							<div class="am-g banner-index">
								<div class="am-u-lg-12">
									<div class="tempWrap">
									<ul class="banner-main">
									<?php if(is_array($news_list)): $i = 0; $__LIST__ = array_slice($news_list,0,5,true);if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><li><a href="<?php echo U('Information/newscontent?id='.$vo['id']);?>"><img src="<?php echo get_cover($vo['cover_id'],$field = path);?>" class="img-responsive"></a></li><?php endforeach; endif; else: echo "" ;endif; ?>
									</ul>
									</div>
									<ul class="text-center banner-nav am-text-center">
										
										<li class=""></li>
										
									</ul>
								</div>
							</div>
						</section>
					</div>
					<div class="am-u-lg-7">
						<div class="index-news-01 am-text-truncate"><a href="<?php echo U('Information/newscontent?id='.$news_list[1]['id']);?>"><?php echo ($news_list[1]['title']); ?></a></div>
						<div class="index-news-all">
							<ul>
								<?php if(is_array($news_list)): $i = 0; $__LIST__ = array_slice($news_list,0,5,true);if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><li class="am-text-truncate"><a href="<?php echo U('Information/newscontent?id='.$vo['id']);?>">•<?php echo ($vo['title']); ?> </a></li><?php endforeach; endif; else: echo "" ;endif; ?>
								
							</ul>
						</div>
					</div>
				</div>

			</div>
			<div class="am-u-lg-4 index-new-right">
				<img src="<?php echo get_cover($news_list[0]['cover_id'],$field = path);?>" width="100%"/>
				<div class="index-new-right-content">
					<a href="<?php echo U('Information/newscontent?id='.$news_list[0]['id']);?>">
						<p class="index-new-right-content-title am-text-truncate"><?php echo ($news_list[0]['title']); ?></p>
						<p class="index-new-right-content-p2"><?php echo ($news_list[0]['description']); ?></p>
					</a>
					<a href="<?php echo U('Information/index');?>"><span id="more">more>></span></a>
				</div>
			</div>
			
		</div>
	</div>
	
	<div id="topcontrol" style="margin-left: auto; margin-right: auto; width: 1000px;"><a href="javascript:void(0);" class="top_stick" style="position: fixed; bottom: 30px; right: 30px;">&nbsp;</a></div>
	<footer class="footer am-text-center">
		<div class="container text-center">
			<div class="am-g">
				<div class="am-u-lg-12">
					<div class="footer-bottom">
						<!--<div>Copyright © 凤村在线 All rights reserved.<?php echo C('WEB_SITE_ICP');?></div>-->
						<div>Designed &amp; coded by <a target="_blank" href="http://www.qnws.net/">中山青年網商</a></div>
					</div>
				</div>
			</div>
		</div>
	</footer>
	<script type="text/javascript" src="/Public/Home/js/jquery.min.js"></script>
	<!--[if (gte IE 9)|!(IE)]><!-->
	<script src="/Public/Home/js/jquery.min.js"></script>
	<!--<![endif]-->
	<!--[if lte IE 8 ]>
	<script src="http://libs.baidu.com/jquery/1.11.3/jquery.min.js"></script>
	<script src="http://cdn.staticfile.org/modernizr/2.8.3/modernizr.js"></script>
	<script src="/Public/Home/js/amazeui.ie8polyfill.min.js"></script>
	<![endif]-->
	<script src="/Public/Home/js/amazeui.js"></script>
	<script type="text/javascript" src="/Public/Home/js/common.js"></script>
	<script type="text/javascript" src="/Public/Home/js/scrolltopcontrol.js"></script>
	<script type="text/javascript">
		// nav
		var navigation_open =   true;
		var navigation  =   responsiveNav(
			'.header-nav',
			{
				label:'目录<span class="glyphicon am-icon-chevron-down"></span>',
				open:function(){
					navigation_open =   true;
				},
				close:function(){
					navigation_open =   true;
				}
			}
		);
		$(function(){
			$('#my-weixin').mouseover(function(){
			 $("#erweima").show();
			 })
			 
			 $('#my-weixin').mouseout(function(){
				 $("#erweima").hide();
			})
		})	
	</script>

	

	
	<script type="text/javascript">

		var imgSlider_html;

		function imgSlider() {

			if (typeof imgSlider_html == "undefined")
			{
				imgSlider_html	=	$('.banner-index').html();
			}
			else
			{
				$('.banner-index').html(imgSlider_html);
			}

			$('.banner-index').slide({
				'effect':		'leftLoop',
				'delayTime':	1000,
				'interTime':	3000,
				'autoPlay':		true,
				'easing':		'easeOutCubic',
				'autoPage':		true,
				'mainCell':		'.banner-main',
				'titCell':		'.banner-nav',
			});
		}

		$(function(){

			$(window).resize(function(){
				imgSlider();
			});

		});
		
		imgSlider();
	</script>
</body>
</html>